package com.zkadmin.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "sys_setting")
public class SysSetting extends AuditorAndVersionEntity {
	private static final long serialVersionUID = 6592562308423296681L;
	@Column(nullable = false, length = 50)
	private String name = "zkadmin管理平台";

	@Column(nullable = false, name = "remember_me")
	private Boolean rememberMe = true;

	@Column(nullable = false, name = "login_retry_limit")
	private Integer loginRetryLimit = 5;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getRememberMe() {
		return rememberMe;
	}

	public void setRememberMe(Boolean rememberMe) {
		this.rememberMe = rememberMe;
	}

	public Integer getLoginRetryLimit() {
		return loginRetryLimit;
	}

	public void setLoginRetryLimit(Integer loginRetryLimit) {
		this.loginRetryLimit = loginRetryLimit;
	}

}
